package light.head.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 *	办事指南附件
 */
@Entity
@Table
public class WorkGuideAnnex implements Serializable{
	private static final long serialVersionUID = -4839268500094273046L;
	private Integer code;							// 流水账号
	private Integer wgdc;							// 对应办事指南具体内容的编号
	private String name;							// 文件名
	private String sn;								// 系统生成的文件名
	private Integer size;							// 文件大小
	private String ext;								// 后缀名
	private Boolean deleted = false;				// 是否删除
	
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column
	public Integer getCode() {
		return code;
	}
	@Column
	public Integer getWgdc() {
		return wgdc;
	}
	@Column
	public String getName() {
		return name;
	}
	@Column
	public String getSn() {
		return sn;
	}
	@Column
	public Integer getSize() {
		return size;
	}
	@Column
	public String getExt() {
		return ext;
	}
	@Column
	public Boolean getDeleted() {
		return deleted;
	}
	
	
	public void setCode(Integer code) {
		this.code = code;
	}
	public void setWgdc(Integer wgdc) {
		this.wgdc = wgdc;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setSn(String sn) {
		this.sn = sn;
	}
	public void setSize(Integer size) {
		this.size = size;
	}
	public void setExt(String ext) {
		this.ext = ext;
	}
	public void setDeleted(Boolean deleted) {
		this.deleted = deleted;
	}
	
	
}
